package com.itheima.apollo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConfigController {
    private static Logger logger = LoggerFactory.getLogger(ConfigController.class);

    @Value("${czbk}")
    String czbk;

    @RequestMapping("conf")
    public String getConfig() {
        return "hi," + czbk;
    }
}
